// 引入react核心库
import React from 'react'
// 引入ReactDom
import ReactDOM from 'react-dom/client'
// 
import {BrowserRouter} from 'react-router-dom'
// import {HashRouter} from 'react-router-dom'
// 引入App
import App from './App'

const root = ReactDOM.createRoot(document.getElementById('root'))
root.render(
  <BrowserRouter>
    <App />
  </BrowserRouter>
)